/*
  Name: Record.h
  Copyright: 
  Author: Hank Stalica
  Date: 29/12/09 02:17
  Description: This class is used for storing position information:
    stock symbol, price, atr, etc...
*/
#ifndef RECORD_H
#define RECORD_H

#include <string>
using std::string;

#include <iostream>
using std::ostream;

class Record{
  string symbol, //stock symbol
    price, //stock price
    atr, //Average true range
    unitSize, //Size of each "unit"
    stop, //stop price
    p2, //prices to buy an additional units
    p3, 
    p4, 
    p5;
 
friend ostream& operator<<(ostream&, const Record&);
  
  public:
    Record();
    Record(string, string, string, string, string, 
      string, string, string, string);
  string getRecord();  
  bool operator<(const Record&) const;
  bool operator==(const Record&) const;
  Record& operator=(const Record&);
  string getSymbol();
};
#endif
